package com.anyou.mall.goo.goodsComment.domain;

import java.util.Date;
import java.util.List;

import com.anyou.mall.goo.goodsComment.vo.SelectOrderInfoVo;
import com.anyou.mall.goo.goodsComment.vo.SelectUserInfoVO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 商品评价对象 goo_goods_comment
 *
 * @author ruoyi
 * @date 2022-03-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "商品评价")
@TableName(value = "goo_goods_comment")
public class GooGoodsComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品评价编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("商品评价编号")
    private Long goodsCommentId;

    /** 商家编号 */
    @ApiModelProperty("商家编号")
    @Excel(name = "商家编号")
    private Long storeId;

    /** 商品编号 */
    @ApiModelProperty("商品编号")
    @Excel(name = "商品编号")
    private Long goodsId;

    /** 商品sku编号 */
    @ApiModelProperty("商品sku编号")
    @Excel(name = "商品sku编号")
    private Long goodsSkuId;

    /** 用户编号 */
    @ApiModelProperty("用户编号")
    @Excel(name = "用户编号")
    private Long userId;

    /** 订单编号 */
    @ApiModelProperty("订单编号")
    @Excel(name = "订单编号")
    private Long orderId;

    /** 评价内容 */
    @ApiModelProperty("评价内容")
    @Excel(name = "评价内容")
    private String coomment;

    /** 评论图片 */
    @ApiModelProperty("评论图片")
    @Excel(name = "评论图片")
    private String imgUrl;

    /** 符合度 */
    @ApiModelProperty("符合度")
    @Excel(name = "符合度")
    private Long fitNumber;

    /** 服务度 */
    @ApiModelProperty("服务度")
    @Excel(name = "服务度")
    private Long serveNumber;

    /** 配送速度 */
    @ApiModelProperty("配送速度")
    @Excel(name = "配送速度")
    private Long deliveryNumber;

    /** 配送员服务 */
    @ApiModelProperty("配送员服务")
    @Excel(name = "配送员服务")
    private Long deliveryServeNumber;

    /** 配送包装 */
    @ApiModelProperty("配送包装")
    @Excel(name = "配送包装")
    private Long deliveryPacking;

    /** 是否已回复（0否，1是） */
    @ApiModelProperty("是否已回复（0否，1是）")
    @Excel(name = "是否已回复", readConverterExp = "0=否，1是")
    private String isReply;

    /** 回复内容 */
    @ApiModelProperty("回复内容")
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复时间 */
    @ApiModelProperty("回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    @TableField(exist = false)
    private String nickName;

    /**
     * 用户手机号
     */
    @ApiModelProperty(value = "用户手机号")
    @TableField(exist = false)
    private String phoneNumber;

    @ApiModelProperty(value = "追加评价")
    @TableField(exist = false)
    private GooGoodsCommentAdd goodsCommentAdd;
/*    *//** 查询用户信息 *//*
    @ApiModelProperty("查询用户信息")
    @TableField(exist = false)
    private SelectUserInfoVO selectUser;*/

/*    *//** 查询订单信息 *//*
    @ApiModelProperty("查询订单信息")
    @TableField(exist = false)
    private SelectOrderInfoVo SelectOrderInfo;*/
}
